package org.feng.demo;

import org.feng.framework.BeanPostProcessor;
import org.feng.framework.Component;

/**
 * Autowired注解的后置处理
 *
 * @version v1.0
 * @author: fengjinsong
 * @date: 2022年04月09日 18时55分
 */
@Component
public class AutowiredAnnotationBeanPostProcessor implements BeanPostProcessor {

    @Override
    public Object postProcessBeforeInitialization(Object bean, String beanName) {
        System.out.println("AutowiredAnnotationBeanPostProcessor");
        return bean;
    }
}
